﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Detail.aspx.cs" Inherits="CardLogistics.Web.MainPage.Purchase.Contract.Detail" %>

<%@ Register Src="../../../Controls/WebUserControl_Nav.ascx" TagName="WebUserControl_Nav"
    TagPrefix="uc1" %>
<%@ Register Src="../../../Controls/WebUserControl_AppInfo.ascx" TagName="WebUserControl_AppInfo"
    TagPrefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>采购合同详细信息</title>
    <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../../../js/valReq.js" type="text/javascript"></script>
</head>
<body>
    <form id="frmFather" runat="server">
    <uc1:webusercontrol_nav id="WebUserControl_Nav1" runat="server" />
    <table class="theForm" width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td class="titleTxtM">
                合同编号：
            </td>
            <td class="contentTxtM">
                <asp:Label ID="CONNO" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="titleTxtM">
                合同名称：
            </td>
            <td class="contentTxtM">
                <asp:Label ID="CONNAME" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="titleTxtM">
                需求单：
            </td>
            <td class="contentTxtM">
                <asp:Label ID="billno" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="titleTxt">
                供应商：
            </td>
            <td class="contentTxtM">
                <asp:Label ID="SUPPLIERSNAME" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="titleTxtM">
                签定日期：
            </td>
            <td class="contentTxtM">
                <asp:Label ID="SIGNDATE" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="titleTxtM">
                生效日期：
            </td>
            <td class="contentTxtM">
                <asp:Label ID="BEDATE" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="titleTxtM">
                供货期(天)：
            </td>
            <td class="contentTxtM">
                <asp:Label ID="DELIVERYDAYS" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="titleTxt">
                采购类型：
            </td>
            <td class="contentTxtM">
                <asp:Label ID="typename" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
         <td class="titleTxtM">
            卡片种类：
            </td>
             <td class="contentTxtM">
             <asp:Label ID="CARDTYPE" runat="server"></asp:Label>
            </td>
            <td class="titleTxtM">
                签定地点：
            </td>
            <td class="contentTxtM">
                <asp:Label ID="SIGNADDRESS" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="titleTxtM">
                负责人：
            </td>
            <td class="contentTxtM">
                <asp:Label ID="CONPIC" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="titleTxtM">
            </td>
            <td class="contentTxtM">
            </td>
        </tr>
         <tr>
            <td class="titleTxt" height="65px">
                审批信息：
            </td>
            <td colspan="7">
                <uc2:WebUserControl_AppInfo ID="WebUserControl_AppInfo1" ApproName="采购合同" runat="server" />
            </td>
        </tr>

        <tr id="tr_Details" runat="server">
            <td colspan="8" style="padding: 2px;">
                <div overflow-y: auto; width: 100%;">
                    <asp:Repeater ID="rptDetailList" runat="Server">
                        <HeaderTemplate>
                            <table class="tabledetail" id="tbDetailList">
                                <thead>
                                    <tr>
                                        <th>
                                            序号
                                        </th>
                                        <th>
                                            卡片类型
                                        </th>
                                        <th>
                                            芯片类型
                                        </th>
                                        <th>
                                            Cos版本号
                                        </th>
                                        <th>
                                            单价(元)
                                        </th>
                                        <th>
                                            数量
                                        </th>
                                        <th>
                                            备品数量
                                        </th>
                                        <th>
                                            赠品数量
                                        </th>
                                         <th>
                                            首付款(40%）
                                        </th>
                                        <th>
                                            验收款(50%)
                                        </th>
                                        <th>
                                            质保金(10%)
                                        </th>
                                    </tr>
                                </thead>
                                <tbody>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr>
                                <td align="center">
                                    <%# Container.ItemIndex+1+(WebPageIndex*WebPageSize-10) %>
                                </td>
                                <td align="center">
                                    <%# Eval("BATCHNO")%>
                                </td>
                                <td align="center">
                                    <%# Eval("TypeName")%>
                                </td>
                                <td align="center">
                                    <%#Eval("CosVersion")%>
                                </td>
                                <td align="right">
                                    <%# Decimal.Parse(Eval("Price").ToString()).ToString("0.00")%>
                                </td>
                                <td align="right">
                                    <%# Eval("CardAmount")%>
                                </td>
                                <td align="right">
                                    <%# Eval("Spareparts")%>
                                </td>
                                <td align="right">
                                    <%# Eval("Premiums")%>
                                </td>
                                <td align="right">
                                    <%# Decimal.Parse(Eval("FIRSTPAY").ToString()).ToString("0.00")%>
                                </td>
                                <td align="right">
                                    <%# Decimal.Parse(Eval("ACCEPTANCE").ToString()).ToString("0.00")%>
                                </td>
                                <td align="right">
                                    <%# Decimal.Parse(Eval("QUALITYASSURANCE").ToString()).ToString("0.00")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                            </tbody></table>
                        </FooterTemplate>
                    </asp:Repeater>
                </div>
            </td>
        </tr>
        <tr>
            <td colspan="8" align="center" style="height: 70px;">
                <input type="button" class="btn" value="返回" onclick="javascript:history.go(-1);" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
